The algorithm mapped the default quantization parameters inputted by users to the actual quantization parameter set. Each region of the image is assigned a set of actual quantization parameters according to its local texture and local brightness, which distributes the bit rate of the entire image reasonably. 算法将用户输入的缺省量化参数映射到实际量化参数集,根据图像区域的纹理、亮度,赋予相应的实际量化参数,使得压缩图像码率合理分布。